package com.tubeonfire.entity;

import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

@Cached
public class Author implements Serializable {

	public static final long serialVersionUID = 1L;
	@Id
	private String uri = "";

	@Unindexed
	private String name = "";

	@Unindexed
	private String userId = "";

	@Unindexed
	private String thumbnail = "";

	@Indexed
	private long bumpPoint = 0;

	@Indexed
	private Date updated = Calendar.getInstance().getTime();

	@Indexed
	private int status = 0;

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public long getBumpPoint() {
		return bumpPoint;
	}

	public void setBumpPoint(long bumpPoint) {
		this.bumpPoint = bumpPoint;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
